package com.seal.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.seal.dao.ICityDao;
import com.seal.model.TCity;
import com.seal.service.ICityService;

@Service("cityServiceImpl")
@Transactional(readOnly = true)
public class CityServiceImpl implements ICityService {
	@Resource(name = "cityDaoImpl")
	private ICityDao cityDao;

	public List<TCity> getCitysById(String pid,String cid) throws Exception {
		return cityDao.getCitysById(pid,cid);
	}

}
